package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
//订单评价表
public class Review {
    private int id;
    private String comment;
    //订单Id外键：关联订单ID
    @TableField("orderId")
    private int orderId;
    //星级评价
    private int score;
}
